	<div id="modal-cart-not-the-same-restaurant" class="modal hide fade" style="display: none; ">
	  <div class="modal-header"> <a href="#" class="close">×</a>
	    <h3>请先清空美食篮子</h3>
	  </div>
	  <div class="modal-body">
	    <h3>美食篮子中包含来自@<?php echo $_SESSION['_cart']['shop_name'];?>的美食 </h3>
	    <p>您需要先清空美食篮子才能挑选其他餐厅的美食哦:)</p>
	  </div>
	  <div class="modal-footer"> <a href="<?php echo SITE_ROOT;?>/index_shop.php?method=clear&shop_id=<?php echo $shop['shop_id'];?>" class="btn clear-cart">清空美食篮子</a> <a href="#" class="btn btn-yellow complete">先去餐厅看看</a> </div>
	</div>
  	 
  	 <div id="modal-shuiqunawaimai" class="modal hide fade" style="display: none; ">
      <div class="modal-header"> <a href="#" class="close btn complete">×</a>
        <h3>谁去拿外卖</h3>
      </div>
      <div class="modal-body">
        <div class="" id="shuiqunawaimai">
          <div id="title">谁去拿外卖</div>
          <div id="triggerContainer" > <a href="#"  id="trigger" ></a> </div>
          <div id="resultContainer">
            <p id="description"><span>随机到最小数字的人去拿外卖</span></p>
            <div id="heightfixer"></div>
            <ul id="result">
            </ul>
            <div id="lastResult">↓ Start </div>
          </div>
        </div>
      </div>
    </div>
    
  <div id="modal-login" class="modal hide fade hidden">
    <div class="modal-header"> <a href="#" class="close btn complete">×</a>
      <h3>点一下账号</h3>
    </div>
    <div class="modal-body">
      <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:void(0);" class="">登录</a></li>
        <li><a href="<?php echo SITE_ROOT;?>/user_registration.php" class="" target="_blank">注册</a></li>
      </ul>
      <form action="<?php echo SITE_ROOT;?>/user_login.php?method=login" method="post" class="form-horizontal">
	  <input name="url" value="<?php echo SITE_ROOT;?>/index_shop.php?shop_id=<?php echo $_GET['shop_id'];?>" type="hidden" />
	  <input name="id" value="<?php echo $_GET['shop_id'];?>" type="hidden" />
        <fieldset>
          <div class="control-group">
            <label class="control-label" for="xlInput">Email</label>
            <div class="controls">
              <input class="" id="mail" name="mail" size="30" type="text">
            </div>
          </div>
          <!-- /clearfix -->
          <div class="control-group">
            <label class="control-label" for="xlInput">密码</label>
            <div class="controls">
              <input class="" id="password" name="password" size="30" type="password">
            </div>
          </div>
          <!-- /clearfix -->
          <div class="form-actions">
            <input name="redirect_url" type="hidden" value="" />
            <input type="submit" class="btn btn-yellow login" value="登录网站">
            &nbsp;
            <button type="reset" class="btn cancel" id="cancel-button">取消</button>
          </div>
        </fieldset>
      </form>
    </div>
  </div>
  
  <div id="modal-bussiness" class="modal hide fade hidden">
    <div class="modal-header"> <a href="#" class="close btn complete">×</a>
      <h3>您想要订购的餐馆在哪里？</h3>
    </div>
    <!--弹出层 切换地址 start-->
  <div class="modal-body">
    <!--1-->
     <?php 
  	 $sql="select * from zy_businessarea where level=1 order by id";
  	 $rs = mysql_query($sql);
     while ($arr = mysql_fetch_array($rs)) {?>
   <h5><?php echo $arr['name']?></h5>
    <ul>
     <?php 
      	$sql2="SELECT b.* FROM `zy_businessarea` a ,zy_businessarea b WHERE a.`id`= b.`parentId` AND b.`level`=2 AND a.id=".$arr['id'];
      	 $rs2 = mysql_query($sql2);
      	 while ($arr2 = mysql_fetch_array($rs2)) {?>
      	 	<li id="area-<?php echo $arr2['id']?>"><a href="javascript:qiehuan(<?php echo $arr2['id']?>);" ><b><?php echo $arr2['name']?></b></a></li>
   <?php } ?>
    </ul>
    
    <div style="clear:both; border-top:1px solid #ebebeb; margin:10px 0;"></div>
    <?php }?>
  </div>
  <!--弹出层 切换地址 over-->
   
  </div>
<div class="footer" align="center">
    <div class="container" style=" padding-top:0; width:auto;">
      <div class="row">
        <div class=" links"></div>
      </div>
      <div class="row">
		 <div class="span12 links" align="center"> <a href="<?php echo SITE_ROOT;?>/page.php?contentid=1">关于我们</a> <span>|</span> <a href="<?php echo SITE_ROOT;?>/page.php?contentid=2">免责说明</a> <span>|</span> <a href="<?php echo SITE_ROOT;?>/page.php?contentid=3">联系我们</a> <span>|</span> <a href="<?php echo SITE_ROOT;?>/page.php?contentid=4">运营时间</a> <span>|</span> <a href="<?php echo SITE_ROOT;?>/page.php?contentid=5">使用条款和协议</a><span>|</span> <a href="<?php echo SITE_ROOT;?>/page.php?contentid=6">积分规则</a></div>
		 <br/>
        <div class=" copyright"> © 2012 点一下 <a target="_blank" href="http://www.miibeian.gov.cn">闽ICP备12016343号</a> </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>
<script type="text/javascript" src="<?php echo SITE_ROOT;?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo SITE_ROOT;?>/js/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="<?php echo SITE_ROOT;?>/js/fancyBox-v2.0.5-0/jquery.fancybox.js"></script>
<script type="text/javascript" src="<?php echo SITE_ROOT;?>/js/fancyBox-v2.0.5-0/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="<?php echo SITE_ROOT;?>/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="<?php echo SITE_ROOT;?>/js/jquery.scrollTo.js"></script>
<script type="text/javascript" src="<?php echo SITE_ROOT;?>/js/forward/public/order.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
<![endif]-->
<script type="text/javascript">
  <?php 
  if($show_buseness&&$menu=="home"){?>
  	//chooseBussiness();
  <?php }?>
</script>
<script language="javascript">
	function qiehuan(num){
		$("#sub-area").remove();
		$(".active").each(function(){
			$(this).removeClass("active");
		})
		$("#area-"+num).addClass("active");
		
		$.ajax({
             type: "post",
             url: "<?php echo SITE_ROOT;?>/include/zy_function.php",
 			data:{method:"findArea",id:num},
             dataType: "json",
             success: function(data){
            	//alert(data);
            	$("#sub-area").remove();
            	$("#area-"+num).parent().html($("#area-"+num).parent().html()+data);
             }
          });
	}
</script>